gtk4.git
10 years agowayland: Avoid a crash
Matthias Clasen [Thu, 19 Nov 2015 19:39:42 +0000 (14:39 -0500)]
wayland: Avoid a crash

We can end up in situations where NULL gets passed to
get_transient_parent(). Embrace it instead of avoiding it.

https://bugzilla.gnome.org/show_bug.cgi?id=758327

10 years agoAdd more CSS node docs
Matthias Clasen [Thu, 19 Nov 2015 19:01:41 +0000 (14:01 -0500)]
Add more CSS node docs

10 years agoTrivial: Some doc rewording
Matthias Clasen [Thu, 19 Nov 2015 18:40:57 +0000 (13:40 -0500)]
Trivial: Some doc rewording

10 years agoAdd some CSS node docs
Matthias Clasen [Thu, 19 Nov 2015 17:55:30 +0000 (12:55 -0500)]
Add some CSS node docs

Write up some of the insights from doing the CSS node transition,
so the knowledge is not lost.

10 years agoDo not use the GPL v3 blurb for LGPL v2.1 files
Emmanuele Bassi [Thu, 19 Nov 2015 12:44:17 +0000 (12:44 +0000)]
Do not use the GPL v3 blurb for LGPL v2.1 files

GTK+ is licensed under the terms of the GNU LGPL v2.1+.

10 years agoDo not use the LGPL v3 blurb for LGPL v2.1 files
Emmanuele Bassi [Thu, 19 Nov 2015 12:43:24 +0000 (12:43 +0000)]
Do not use the LGPL v3 blurb for LGPL v2.1 files

GTK+ is released under the terms of the GNU LGPL v2.1+.

10 years agoFix the license version in GtkTrashMonitor
Emmanuele Bassi [Thu, 19 Nov 2015 12:41:22 +0000 (12:41 +0000)]
Fix the license version in GtkTrashMonitor

There is no GNU Lesser General Public License version 2; it's either GNU
Library General Public License version 2, or GNU Lesser General Public
License version 2.1.

10 years agoFix license version for GtkFileChooserWidget private header
Emmanuele Bassi [Thu, 19 Nov 2015 12:33:07 +0000 (12:33 +0000)]
Fix license version for GtkFileChooserWidget private header

Since it's using Lesser GPL, use version 2.1; there is no Lesser GPL v2,
as it was called 'Library GPL' prior to v2.1.

10 years agoFix the licensing blurb of GtkBookmarksManager
Emmanuele Bassi [Thu, 19 Nov 2015 12:11:05 +0000 (12:11 +0000)]
Fix the licensing blurb of GtkBookmarksManager

Copy-pasta from GPL instead of LGPL.

Also, there is no GNU Lesser General Public License version 2; either
it's the GNU Library General Public License version 2, or it's the GNU
Lesser General Public License version 2.1.

10 years agoFix the licensing blurb in GtkPlacesSidebar
Emmanuele Bassi [Thu, 19 Nov 2015 12:06:54 +0000 (12:06 +0000)]
Fix the licensing blurb in GtkPlacesSidebar

The code is released under the terms of the LGPL v2.1+, as is the rest
of the GTK+ code.

10 years agoFix license header
Matthias Clasen [Thu, 19 Nov 2015 12:22:01 +0000 (07:22 -0500)]
Fix license header

I didn't meant to make this different from any other file
in GTK+ when I added it.

10 years agobox: Use an element name
Matthias Clasen [Thu, 19 Nov 2015 12:07:26 +0000 (07:07 -0500)]
box: Use an element name

10 years agotoolitemgroup: Fix initial state
Matthias Clasen [Thu, 19 Nov 2015 11:04:26 +0000 (06:04 -0500)]
toolitemgroup: Fix initial state

GtkToolItemGroup starts out as non-collapsed, make the CSS node
state reflect that.

10 years agoDocument GDK_TOUCHPAD_GESTURE_MASK
Matthias Clasen [Wed, 18 Nov 2015 15:21:15 +0000 (10:21 -0500)]
Document GDK_TOUCHPAD_GESTURE_MASK

10 years agoentry: ensure valid GdkWindow before set_invisible_cursor()
Christian Hergert [Wed, 18 Nov 2015 22:41:29 +0000 (14:41 -0800)]
entry: ensure valid GdkWindow before set_invisible_cursor()

If the window has not yet been created, then we can't set the invisible
cursor yet. This can happen in situations where the widget is in a
revealer with type-to-search functionality.

10 years agoHighContrast: remove deprecated progressbar style properties
Cosimo Cecchi [Wed, 18 Nov 2015 17:16:51 +0000 (09:16 -0800)]
HighContrast: remove deprecated progressbar style properties

These are ignored and trigger a runtime warning.

10 years agoUpdated Spanish translation
Daniel Mustieles [Wed, 18 Nov 2015 12:22:59 +0000 (12:22 +0000)]
Updated Spanish translation

10 years agogtkwindow: apply csd offset to set/get_default_size
Olivier Fourdan [Thu, 12 Nov 2015 15:56:20 +0000 (16:56 +0100)]
gtkwindow: apply csd offset to set/get_default_size

An application may use gtk_window_get_size() to retrieve the current
window size and later reuse that size with
gtk_window_set_default_size().

gtk_window_set_default_size() and gtk_window_get_default_size() should
also take client side decorations offset into account.

Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=756618

10 years agopopover: Avoid a crash when no relative-to widget is set
Matthias Clasen [Wed, 18 Nov 2015 03:48:35 +0000 (22:48 -0500)]
popover: Avoid a crash when no relative-to widget is set

This was showing up in glade, which creates freestanding
popovers.

10 years agoHighContrast: remove deprecated style properties
Matthias Clasen [Wed, 18 Nov 2015 02:47:02 +0000 (21:47 -0500)]
HighContrast: remove deprecated style properties

10 years agoexpander: Use the right state when querying style properties
Matthias Clasen [Wed, 18 Nov 2015 01:48:50 +0000 (20:48 -0500)]
expander: Use the right state when querying style properties

Failure to do so causes warnings.

10 years agogtk-demo: Fix the CSS examples
Matthias Clasen [Wed, 18 Nov 2015 00:55:58 +0000 (19:55 -0500)]
gtk-demo: Fix the CSS examples

The CSS needs small adjustments after all the CSS node changes.

10 years agogtk-demo: Fix the assistant example
Matthias Clasen [Wed, 18 Nov 2015 00:48:02 +0000 (19:48 -0500)]
gtk-demo: Fix the assistant example

GtkEntry respects valign now, so we need to set it to something
other than fill.

10 years agoAdwaita: Drop deprecated style properties
Matthias Clasen [Wed, 18 Nov 2015 00:41:08 +0000 (19:41 -0500)]
Adwaita: Drop deprecated style properties

10 years agowayland: Move additional pointer buttons after the old 4-7 scrolling ones
Carlos Garnacho [Mon, 16 Nov 2015 11:51:42 +0000 (12:51 +0100)]
wayland: Move additional pointer buttons after the old 4-7 scrolling ones

We were using that range for the extra buttons after left/right/middle,
while this is harmless for clients not handling extra buttons (we
used to translate those button events into scroll events in x11 anyway)
this will be unexpected for clients that do handle additional mouse
buttons themselves (eg. back/forward buttons present in some mice).

In order to remain compatible with X11, those need to be assigned from
button 8 onwards.

Also, include input.h, and stop using magic numbers here.

https://bugzilla.gnome.org/show_bug.cgi?id=758072

10 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 17 Nov 2015 17:56:17 +0000 (18:56 +0100)]
Updated Spanish translation

10 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 17 Nov 2015 17:56:07 +0000 (18:56 +0100)]
Updated Spanish translation

10 years agoUpdated Scottish Gaelic translation
GNOME Translation Robot [Tue, 17 Nov 2015 17:47:41 +0000 (17:47 +0000)]
Updated Scottish Gaelic translation

10 years agox11: Add "pointer" to the is-not-a-touchscreen device name checks
Carlos Garnacho [Tue, 17 Nov 2015 14:36:08 +0000 (15:36 +0100)]
x11: Add "pointer" to the is-not-a-touchscreen device name checks

Commit 1266d15c4 also broke Xwayland, as it does the same trick
than VMWare pointers. Let's extend the heuristic to check for "pointer"
in the device name, what can possibly go wrong...

https://bugzilla.gnome.org/show_bug.cgi?id=757358

10 years agostackswitcher: add GtkStackSwitcher:icon-size property
Christian Hergert [Tue, 17 Nov 2015 05:38:22 +0000 (21:38 -0800)]
stackswitcher: add GtkStackSwitcher:icon-size property

Set the GtkStackSwitcher:icon-size property to change the size of icons
used in the linked GtkRadioButton children.

https://bugzilla.gnome.org/show_bug.cgi?id=758208

10 years agox11: Try harder to find a core pointer
Matthias Clasen [Mon, 16 Nov 2015 23:31:37 +0000 (18:31 -0500)]
x11: Try harder to find a core pointer

We currently just look for a master device with input source MOUSE.
After recent changes to the way input devices are classified, xwayland
on my system comes up with a virtual core pointer that has input
source TOUCHSCREEN. This was causing assertion failures. Be a little
more careful and accept a touchscreen as core pointer, if there is
no mouse.

10 years agoAdwaita: Remove deprecated style properties
Matthias Clasen [Mon, 16 Nov 2015 20:14:41 +0000 (15:14 -0500)]
Adwaita: Remove deprecated style properties

These are now triggering warnings, so clean them up.

10 years agoAnnotate deprecated style properties
Matthias Clasen [Mon, 16 Nov 2015 20:13:33 +0000 (15:13 -0500)]
Annotate deprecated style properties

Use G_PARAM_DEPRECATED with deprecated style properties.
This will make it easier to identify and remove such stale
properties from css, since it will now trigger warnings.

10 years agocss provider: Issue deprecation warnings for style properties
Matthias Clasen [Mon, 16 Nov 2015 19:37:23 +0000 (14:37 -0500)]
css provider: Issue deprecation warnings for style properties

This makes G_PARAM_DEPRECATED useful for style properties.

10 years agocssprovider: Only push a new scanner when none exists
Benjamin Otte [Mon, 16 Nov 2015 18:34:24 +0000 (19:34 +0100)]
cssprovider: Only push a new scanner when none exists

For @import, we want to emit the error as part of the @import statement,
not as part of the new file.

10 years agocssprovider: Have a section on import error
Benjamin Otte [Mon, 16 Nov 2015 16:36:50 +0000 (17:36 +0100)]
cssprovider: Have a section on import error

When loading a nonexisting CSS file using
gtk_css_provider_load_from_file() or gtk_css_provider_load_from_path()
we would emit the error using a NULL scanner. Don't do that, because
we'll have a NULL section in that case and error handlers don't like
that.

Testcase attached.

https://bugzilla.redhat.com/show_bug.cgi?id=1277959

10 years agogtkcontainer: clarify requirements for implementations
Carlos Soriano [Wed, 11 Nov 2015 10:37:28 +0000 (11:37 +0100)]
gtkcontainer: clarify requirements for implementations

Spent quite a few time investigating why the widgets were
not shown in my GtkContainer implementation.

https://bugzilla.gnome.org/show_bug.cgi?id=758087

10 years agoUpdated Scottish Gaelic translation
GNOME Translation Robot [Mon, 16 Nov 2015 15:22:01 +0000 (15:22 +0000)]
Updated Scottish Gaelic translation

10 years agospinbutton: Document some style properties as deprecated
Matthias Clasen [Mon, 16 Nov 2015 11:18:32 +0000 (06:18 -0500)]
spinbutton: Document some style properties as deprecated

No code change.

10 years agorange: Document some style properties as deprecated
Matthias Clasen [Mon, 16 Nov 2015 11:17:36 +0000 (06:17 -0500)]
range: Document some style properties as deprecated

Remove dead code dealing with the arrow-displacement-x/y style
properties, and document them as deprecated.

10 years agoprogressbar: Ignore x/yspacing style properties
Matthias Clasen [Mon, 16 Nov 2015 11:16:31 +0000 (06:16 -0500)]
progressbar: Ignore x/yspacing style properties

These are not really useful, so ignore and deprecate them.

10 years agomenuitem: Document some style properties as deprecated
Matthias Clasen [Mon, 16 Nov 2015 11:15:48 +0000 (06:15 -0500)]
menuitem: Document some style properties as deprecated

No code change.

10 years agomenubar: Ignore the shadow-type style property
Matthias Clasen [Mon, 16 Nov 2015 11:14:54 +0000 (06:14 -0500)]
menubar: Ignore the shadow-type style property

The border can be controlled with regular CSS, so deprecate
and ignore this style property.

10 years agoicon view: Document some style properties as deprecated
Matthias Clasen [Mon, 16 Nov 2015 11:13:31 +0000 (06:13 -0500)]
icon view: Document some style properties as deprecated

No code change.

10 years agoentry: Ignore the icon-prelight style property
Matthias Clasen [Mon, 16 Nov 2015 11:12:24 +0000 (06:12 -0500)]
entry: Ignore the icon-prelight style property

The icon prelight effect can be controlled with regular CSS,
so deprecate and ignore this style property.

10 years agobutton: Document some style properties as deprecated
Matthias Clasen [Mon, 16 Nov 2015 11:11:42 +0000 (06:11 -0500)]
button: Document some style properties as deprecated

No code change.

10 years agobutton box: Document some style properties as deprecated
Matthias Clasen [Mon, 16 Nov 2015 11:11:01 +0000 (06:11 -0500)]
button box: Document some style properties as deprecated

No code change.

10 years agoassistant: Document style properties as deprecated
Matthias Clasen [Mon, 16 Nov 2015 11:10:16 +0000 (06:10 -0500)]
assistant: Document style properties as deprecated

No code change.

10 years agoAvoid an unused variable warning
Matthias Clasen [Mon, 16 Nov 2015 11:14:00 +0000 (06:14 -0500)]
Avoid an unused variable warning

This was introduced with the recent win32 build fix.

10 years agostack switcher: fix typos in documentation comment
Cosimo Cecchi [Sun, 15 Nov 2015 22:11:48 +0000 (14:11 -0800)]
stack switcher: fix typos in documentation comment

10 years agoUpdated Norwegian bokmål translation.
Kjartan Maraas [Sun, 15 Nov 2015 18:43:28 +0000 (19:43 +0100)]
Updated Norwegian bokmål translation.

10 years agolabel: Use css nodes for links
Matthias Clasen [Sun, 15 Nov 2015 06:00:20 +0000 (01:00 -0500)]
label: Use css nodes for links

Use a subnode with name link for links in labels. These subnodes
carry the :link or :visited state.

10 years agox11: Do not misdetect mice with abs axes as touchscreens
Carlos Garnacho [Fri, 13 Nov 2015 16:14:34 +0000 (17:14 +0100)]
x11: Do not misdetect mice with abs axes as touchscreens

VMWare seems to create mouse devices with abs axes which confuses
our detection of single-touch touchscreens. Those have though a
name we can match on ("VirtualPS/2 VMware VMMouse"), it should
be pretty safe to assume that no real touchscreens have "mouse"
in their name...

https://bugzilla.gnome.org/show_bug.cgi?id=757358

10 years agowayland: Translate virtual modifiers too
Rui Matos [Tue, 3 Nov 2015 17:39:27 +0000 (18:39 +0100)]
wayland: Translate virtual modifiers too

Wayland allows us to receive virtual modifiers too so we can just use
them directly if the compositor does send them.

https://bugzilla.gnome.org/show_bug.cgi?id=748904

10 years agospinbutton: update node state more often
Matthias Clasen [Sun, 15 Nov 2015 04:18:17 +0000 (23:18 -0500)]
spinbutton: update node state more often

We need to update the entry_node state, and we should
update the node state initially.

10 years agoshortcuts: Support direction-specific shortcuts
Matthias Clasen [Sun, 15 Nov 2015 03:34:19 +0000 (22:34 -0500)]
shortcuts: Support direction-specific shortcuts

The prime example for direction-dependent shortcuts is using
<Alt>Left or <Alt>Right to go back. Support this by adding a
direction property to GtkShortcutsShortcut, and filtering by
the current text direction.

https://bugzilla.gnome.org/show_bug.cgi?id=757888

10 years agohelp overlay: Allow key sequences
Matthias Clasen [Sun, 15 Nov 2015 02:34:43 +0000 (21:34 -0500)]
help overlay: Allow key sequences

Extend the syntax to allow sequences of keys or key combinations,
e.g. t+t or <ctl>c+<ctl>x.

https://bugzilla.gnome.org/show_bug.cgi?id=758051

10 years agoAdd one more selector to CSS parsing tests
Matthias Clasen [Sun, 15 Nov 2015 00:04:42 +0000 (19:04 -0500)]
Add one more selector to CSS parsing tests

Add an E + F selector to the selector parsing tests.
It is a CSS selector that we support.

10 years agoAlways pass the right state in style context getters
Matthias Clasen [Sun, 15 Nov 2015 00:03:57 +0000 (19:03 -0500)]
Always pass the right state in style context getters

Otherwise, we are causing warnings that break make check.

10 years agotestsuite: Skip GtkFileChooserNative for notification tests
Matthias Clasen [Sun, 15 Nov 2015 00:03:10 +0000 (19:03 -0500)]
testsuite: Skip GtkFileChooserNative for notification tests

Like all the other GtkFileChooser implementations, this one
emits some unneeded notifications.

10 years agoHighContrast: Fix selection styling in icon views
Matthias Clasen [Sat, 14 Nov 2015 23:35:03 +0000 (18:35 -0500)]
HighContrast: Fix selection styling in icon views

This makes selected items in icon view show up again.

10 years agoHighContrast: Fix selection styling in treeviews
Matthias Clasen [Sat, 14 Nov 2015 23:29:27 +0000 (18:29 -0500)]
HighContrast: Fix selection styling in treeviews

This makes selected rows in treeviews show up again.

10 years agoHighContrast: Fix selection styling in some places
Matthias Clasen [Sat, 14 Nov 2015 23:25:59 +0000 (18:25 -0500)]
HighContrast: Fix selection styling in some places

Make selected flow box children and list box rows show up again.

10 years agoAdwaita: Misc cleanups
Matthias Clasen [Sat, 14 Nov 2015 23:25:24 +0000 (18:25 -0500)]
Adwaita: Misc cleanups

Various cleanups and simplifications.

10 years agoHighContrast: Fix shadow size
Matthias Clasen [Sat, 14 Nov 2015 23:05:06 +0000 (18:05 -0500)]
HighContrast: Fix shadow size

Ensure that the shadow extents don't change as we go to backdrop,
to prevent windows from jumping.

10 years agoAdwaita: Fix selection styling in icon views
Matthias Clasen [Sat, 14 Nov 2015 22:36:35 +0000 (17:36 -0500)]
Adwaita: Fix selection styling in icon views

This was also broken by recent selection styling changes.

10 years agoAdwaita: Fix selection styling in flow boxes
Matthias Clasen [Sat, 14 Nov 2015 22:33:00 +0000 (17:33 -0500)]
Adwaita: Fix selection styling in flow boxes

This was broken by recent selection styling changes.

10 years agoGtkApplicationWindow: the help_overlay is nullable
Timm Bäder [Sat, 14 Nov 2015 21:56:01 +0000 (22:56 +0100)]
GtkApplicationWindow: the help_overlay is nullable

10 years agoGtkApplicationWindow: Fix typos
Timm Bäder [Sat, 14 Nov 2015 21:19:58 +0000 (22:19 +0100)]
GtkApplicationWindow: Fix typos

10 years agoAdwaita: Fix window shadow size
Matthias Clasen [Sat, 14 Nov 2015 17:55:34 +0000 (12:55 -0500)]
Adwaita: Fix window shadow size

Ensure that the shadow extents don't change as we go to backdrop,
to prevent windows from jumping.

10 years agoCosmetic: Avoid explicit state variables
Matthias Clasen [Sat, 14 Nov 2015 15:30:47 +0000 (10:30 -0500)]
Cosmetic: Avoid explicit state variables

Using the state of the context makes this more obviously correct.

10 years agoCosmetic: Avoid explicit state variables
Matthias Clasen [Sat, 14 Nov 2015 15:30:31 +0000 (10:30 -0500)]
Cosmetic: Avoid explicit state variables

Using the state of the context makes this more obviously correct.

10 years agoCosmetic: Avoid explicit state variables
Matthias Clasen [Sat, 14 Nov 2015 15:30:16 +0000 (10:30 -0500)]
Cosmetic: Avoid explicit state variables

Using the state of the context makes this more obviously correct.

10 years agoCosmetic: Avoid explicit state variables
Matthias Clasen [Sat, 14 Nov 2015 15:29:58 +0000 (10:29 -0500)]
Cosmetic: Avoid explicit state variables

Using the state of the context makes this more obviously correct.

10 years agoCosmetic: Avoid explicit state variables
Matthias Clasen [Sat, 14 Nov 2015 15:29:39 +0000 (10:29 -0500)]
Cosmetic: Avoid explicit state variables

Using the state of the context makes this more obviously correct.

10 years agoCosmetic: Avoid explicit state variables
Matthias Clasen [Sat, 14 Nov 2015 15:29:25 +0000 (10:29 -0500)]
Cosmetic: Avoid explicit state variables

Using the state of the context makes this more obviously correct.

10 years agoCosmetic: Avoid explicit state variables
Matthias Clasen [Sat, 14 Nov 2015 15:28:54 +0000 (10:28 -0500)]
Cosmetic: Avoid explicit state variables

Fold it into its single user.

10 years agoCosmetic: Avoid explicit state variables
Matthias Clasen [Sat, 14 Nov 2015 15:28:25 +0000 (10:28 -0500)]
Cosmetic: Avoid explicit state variables

Using the state of the context makes this more obviously correct.

10 years agoCosmetic: Avoid explicit state variables
Matthias Clasen [Sat, 14 Nov 2015 15:01:11 +0000 (10:01 -0500)]
Cosmetic: Avoid explicit state variables

Using the state of the context makes this more obviously correct.

10 years agoCosmetic: Avoid explict state variables
Matthias Clasen [Sat, 14 Nov 2015 14:56:12 +0000 (09:56 -0500)]
Cosmetic: Avoid explict state variables

Using the state of the context makes this more obviously correct.

10 years agoCosmetic: Avoid an explicit state variable
Matthias Clasen [Sat, 14 Nov 2015 14:51:37 +0000 (09:51 -0500)]
Cosmetic: Avoid an explicit state variable

Using the state of the context makes it more obviously correct.

10 years agolistbox: Cosmetic cleanup
Matthias Clasen [Sat, 14 Nov 2015 14:49:49 +0000 (09:49 -0500)]
listbox: Cosmetic cleanup

We don't cast these arguments anywhere else, so lets not do here
either.

10 years agowindow: Don't invalidate cssnode during get_preferred_width()
Benjamin Otte [Sat, 14 Nov 2015 17:28:34 +0000 (18:28 +0100)]
window: Don't invalidate cssnode during get_preferred_width()

Getting the shadow width must not call gtk_style_context_set_state()
because that will invalidate the node and cause a style-updated emission
which can cause gtk_widget_queue_resize() calls.

And calling queue_resize() from get_preferred_size() essentially means
the size is permanently invalid because you invalidate it while
querying it.

This causes flickering of windows when going from/to backdrop state. To
avoid this we either need to fix the theme to not have different shadow
sizes in those cases or we need to ensure the window doesn't flicker in
the first place.

10 years agoUs ... instead of … for zh_CN
YunQiang Su [Sat, 14 Nov 2015 13:59:24 +0000 (21:59 +0800)]
Us ... instead of …  for zh_CN

10 years agoUpdated Portuguese translation
Pedro Albuquerque [Sat, 14 Nov 2015 07:50:47 +0000 (07:50 +0000)]
Updated Portuguese translation

10 years agoGtkShortcutsShortcut: Add missing word
Timm Bäder [Fri, 13 Nov 2015 11:37:59 +0000 (12:37 +0100)]
GtkShortcutsShortcut: Add missing word

10 years agoGtkGrid: Remove invalid return annotation
Timm Bäder [Fri, 13 Nov 2015 11:36:03 +0000 (12:36 +0100)]
GtkGrid: Remove invalid return annotation

10 years agogtkimcontextsimple.c: Use X11_DATA_PREFIX only on X11/Wayland
Chun-wei Fan [Thu, 12 Nov 2015 12:20:36 +0000 (20:20 +0800)]
gtkimcontextsimple.c: Use X11_DATA_PREFIX only on X11/Wayland

Only use the hard-coded build-time path given by X11_PREFIX on X11 and
Wayland where a X11 package is normally available.  On other platforms,
get the datadir of the running system and mimic the behavior by
constructing the path dynamically.  This avoids hardcoding the path for
searching for compose tables where we want to have relocatability.

This fixes the build on Windows/MSVC as well, where we don't normally have
any X11 packages available.

https://bugzilla.gnome.org/show_bug.cgi?id=757984

10 years agocheck menu item: Fix a typo
Matthias Clasen [Fri, 13 Nov 2015 12:11:23 +0000 (07:11 -0500)]
check menu item: Fix a typo

It is check, not checl. Pointed out by Giovanni Campagna in
https://bugzilla.gnome.org/show_bug.cgi?id=757968

10 years agoAdwaita: Fix styling of selected rows in treeviews
Matthias Clasen [Fri, 13 Nov 2015 12:07:19 +0000 (07:07 -0500)]
Adwaita: Fix styling of selected rows in treeviews

This broke in some of the recent selection handling changes.

10 years agofilechooser: ignore double clicks on the selected item
Paolo Borelli [Wed, 11 Nov 2015 13:43:55 +0000 (14:43 +0100)]
filechooser: ignore double clicks on the selected item

Since we are now interpreting button press events and
make our own double-click determination, we should not
handle double-click events that are generated by GDK.

https://bugzilla.gnome.org/show_bug.cgi?id=757950

10 years agowin32: do not use g_clear_pointer also on the clipboard window
Ignacio Casal Quinteiro [Fri, 13 Nov 2015 11:58:45 +0000 (12:58 +0100)]
win32: do not use g_clear_pointer also on the clipboard window

A follow up on the previous patch. We should use DestroyWindow
directly since it has a different calling convention than
the expected callback for g_clear_pointer

10 years agowin32: do not use g_clear_pointer to destroy the window
Ignacio Casal Quinteiro [Fri, 13 Nov 2015 11:54:54 +0000 (12:54 +0100)]
win32: do not use g_clear_pointer to destroy the window

DestroyWindow expects a different calling convenction so
we endup getting an error at runtime

10 years agoUpdate testlevelbar
Matthias Clasen [Fri, 13 Nov 2015 11:40:28 +0000 (06:40 -0500)]
Update testlevelbar

This test needs some small updates after the recent changes
to levelbar styling.

10 years agonotebook: Chain up in direction_changed
Matthias Clasen [Fri, 13 Nov 2015 11:39:57 +0000 (06:39 -0500)]
notebook: Chain up in direction_changed

We do this everywhere else.

10 years agoUpdated Hebrew translation
Yosef Or Boczko [Fri, 13 Nov 2015 09:51:07 +0000 (11:51 +0200)]
Updated Hebrew translation

10 years agoHighContrast: Update levelbar styling
Matthias Clasen [Fri, 13 Nov 2015 06:05:30 +0000 (01:05 -0500)]
HighContrast: Update levelbar styling

Adapt to changes in the previous commit.

10 years agoAdwaita: Update levelbar styling
Matthias Clasen [Fri, 13 Nov 2015 05:56:54 +0000 (00:56 -0500)]
Adwaita: Update levelbar styling

Adapt to the changes in the previous commit. In particular, fix
the handling of low and high offsets. Anything below the low offset
gets warning color, anything below high gets selected background,
and anything below the new full offset gets success color.

10 years agolevelbar: Use more CSS nodes
Matthias Clasen [Fri, 13 Nov 2015 05:55:28 +0000 (00:55 -0500)]
levelbar: Use more CSS nodes

Create as many CSS nodes as we're rendering blocks on the screen.

10 years agotextbuffer: nicer get_iter functions, without return values
Sébastien Wilmet [Thu, 12 Nov 2015 16:43:32 +0000 (17:43 +0100)]
textbuffer: nicer get_iter functions, without return values

Avoid crashes when passing an invalid location to a
gtk_text_buffer_get_iter_at_*() function.

A first attempt added boolean return values to know if @iter has been set to
the exact location, but it breaks Python and JS bindings because the out
parameter is already a return value in those languages.

Unit tests are added.

https://bugzilla.gnome.org/show_bug.cgi?id=735341